/*     */ package com.yss.sofa.cml.design;
/*     */ 
/*     */ import com.yss.sofa.cml.LineBox;
/*     */ import com.yss.sofa.cml.Style;
/*     */ import com.yss.sofa.cml.Visitor;
/*     */ import com.yss.sofa.cml.color.Color;
/*     */ import com.yss.sofa.cml.text.FontKey;
/*     */ import com.yss.sofa.cml.type.HorizontalAlignEnum;
/*     */ import com.yss.sofa.cml.type.OverflowEnum;
/*     */ import com.yss.sofa.cml.type.VerticalAlignEnum;
/*     */ 
/*     */ public class DesignStyle
/*     */   implements Style
/*     */ {
/*     */   private static final long serialVersionUID = 1L;
/*     */   private String name;
/*     */   private FontKey fontKey;
/*     */   private Color forecolor;
/*     */   private Color backcolor;
/*     */   private HorizontalAlignEnum horizontalAlign;
/*     */   private VerticalAlignEnum verticalAlign;
/*     */   private LineBox lineBox;
/*     */   private OverflowEnum overflow;
/*     */ 
/*     */   public String getName()
/*     */   {
/*  27 */     return this.name;
/*     */   }
/*     */ 
/*     */   public void setName(String name) {
/*  31 */     this.name = name;
/*     */   }
/*     */ 
/*     */   public FontKey getFontKey()
/*     */   {
/*  36 */     return this.fontKey;
/*     */   }
/*     */ 
/*     */   public void setFontKey(FontKey fontKey) {
/*  40 */     this.fontKey = fontKey;
/*     */   }
/*     */ 
/*     */   public Color getForecolor()
/*     */   {
/*  45 */     return this.forecolor;
/*     */   }
/*     */ 
/*     */   public void setForecolor(Color forecolor) {
/*  49 */     this.forecolor = forecolor;
/*     */   }
/*     */ 
/*     */   public Color getBackcolor()
/*     */   {
/*  54 */     return this.backcolor;
/*     */   }
/*     */ 
/*     */   public void setBackcolor(Color backcolor) {
/*  58 */     this.backcolor = backcolor;
/*     */   }
/*     */ 
/*     */   public HorizontalAlignEnum getHorizontalAlign()
/*     */   {
/*  63 */     return this.horizontalAlign;
/*     */   }
/*     */ 
/*     */   public void setHorizontalAlign(HorizontalAlignEnum horizontalAlign) {
/*  67 */     this.horizontalAlign = horizontalAlign;
/*     */   }
/*     */ 
/*     */   public VerticalAlignEnum getVerticalAlign()
/*     */   {
/*  72 */     return this.verticalAlign;
/*     */   }
/*     */ 
/*     */   public void setVerticalAlign(VerticalAlignEnum verticalAlign) {
/*  76 */     this.verticalAlign = verticalAlign;
/*     */   }
/*     */ 
/*     */   public LineBox getLineBox()
/*     */   {
/*  81 */     return this.lineBox;
/*     */   }
/*     */ 
/*     */   public void setLineBox(LineBox lineBox) {
/*  85 */     this.lineBox = lineBox;
/*     */   }
/*     */ 
/*     */   public OverflowEnum getOverflow()
/*     */   {
/*  90 */     return this.overflow;
/*     */   }
/*     */ 
/*     */   public void setOverflow(OverflowEnum overflow) {
/*  94 */     this.overflow = overflow;
/*     */   }
/*     */ 
/*     */   public void visit(Visitor visitor)
/*     */   {
/*  99 */     visitor.visitStyle(this);
/*     */   }
/*     */ 
/*     */   public String toString() {
/* 103 */     return new StringBuilder().append("Style@").append(this.name == null ? Integer.valueOf(hashCode()) : this.name).toString();
/*     */   }
/*     */ }

/* Location:           X:\repository\com\yss\sofa\cml\cml-api\1.1.0\cml-api-1.1.0.jar
 * Qualified Name:     com.yss.sofa.cml.design.DesignStyle
 * JD-Core Version:    0.6.0
 */